{%extends file="home/page/assetslayout.tpl"%}

{%block name="assets_head_static"%}
    {%require name="home:static/assetsdemand/assetsdemand.less"%}
    {%require name="home:static/assetsdemand/assetsdemand.js"%}
{%/block%}

{%block name="type_assets"%}
<div class="page-assetsdemand">
    <ul class="nav">
        <li><a href="/user/assetsdemand" class="demand-logo active">真融宝活期</a></li>
        <li><a href="/user/assetsterm" class="term-logo">真融宝定期</a></li>
        <li><a href="/user/assetsiphone6" class="iphone6-logo">我的果6宝</a></li>
    </ul>
    <div class="assets-detail">
        <div class="block construct">
            <div class="assets-cycle"></div>
            <div class="right">
                <div class="line">
                    <div class="money-block ">
                        <i class="ob-icon bo-icon-cycle2"></i>
                        <div class="ob-context">
                            <div class="ob-title ob-title1 now-profit"></div>
                            <div class="ob-info">收益资金</div>
                        </div>
                    </div>
                    <div class="money-block ">
                        <i class="ob-icon bo-icon-cycle2"></i>
                        <div class="ob-context">
                            <div class="ob-title ob-title1 waiting-amount"></div>
                            <div class="ob-info">排队资金</div>
                        </div>
                    </div>
                </div>

                <div class="line">
                    <div class="money-block">
                        <i class="ob-icon bo-icon-cycle2"></i>
                        <div class="ob-context">
                            <div class="ob-title ob-title1 demand-profit bought-amount"></div>
                            <div class="ob-info">
                                <span>购买资金</span>
                                <a href="/user/myassemble?pid=1" style="margin-left: 10px;display: none" class="assemble">我的债权组合</a>
                            </div>
                        </div>
                    </div>
                    <div class="money-block ">
                        <i class="ob-icon bo-icon-cycle2"></i>
                        <div class="ob-context">
                            <div class="ob-title ob-title1 freeze"></div>
                            <div class="ob-info">提现中</div>
                        </div>
                    </div>
                </div>

                <div style="padding:20px; 0 0 50px;">
                    <a class="btn btn-large btn-main" href="/user/buydemand">购买</a>
                    <a class="btn btn-large" href="/user/withdraw?pid=1">提现</a>
                </div>
            </div>
        </div>
        <div style="height: 20px;"></div>


        <div class="block profit">
            <div class="left">
                <div class="money-block">
                    <i class="ob-icon bo-icon-money1"></i>
                    <div class="ob-context">
                        <div class="ob-title ob-title1 yesterday-profit"></div>
                        <div class="ob-info">昨日收益</div>
                    </div>
                </div>
                <div class="money-block ">
                    <i class="ob-icon bo-icon-money2"></i>
                    <div class="ob-context">
                        <div class="ob-title ob-title1 total-profit"></div>
                        <div class="ob-info">累计收益</div>
                    </div>
                </div>
            </div>
            <div class="right">
                <div class="profit-list"></div>
            </div>
        </div>

        {%if $money.self_total && $money.self_total>0%}
            <div style="height: 20px;"></div>
            <div class="block queue">
                <div class="title">我的排队进度</div>
                {%widget name="home:widget/userqueue/userqueue.tpl"%}
            </div>
        {%/if%}

    </div>
</div>
{%/block%}